package ca.etsmtl.log121.tp3.model;

import java.io.Serializable;

public class MarkerModel implements Serializable {
	/**
	 * TODO
	 */
	private static final long serialVersionUID = -621728179764151059L;
	private String name;
	private int zoomFactor;
	private int posX;
	private int posY;

	public MarkerModel(PerspectiveModel perspective) {
		this(perspective.getName(), perspective.getPosX(), perspective.getPosY(), perspective.getZoomFactor());
	}

	public MarkerModel(String name, int posX, int posY, int zoomFactor) {
		this.name = name;
		this.posX = posX;
		this.posY = posY;
		this.zoomFactor = zoomFactor;
	}

	public String getName() {
		return name;
	}

	public int getZoomFactor() {
		return zoomFactor;
	}

	public int getPosX() {
		return posX;
	}

	public int getPosY() {
		return posY;
	}
}
